# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

XPIDL_SOURCES += [
    'nsIFormAutoComplete.idl',
    'nsIFormFillController.idl',
    'nsIFormHistory.idl',
    'nsIInputListAutoComplete.idl',
]

XPIDL_MODULE = 'satchel'

SOURCES += ['nsFormFillController.cpp']

LOCAL_INCLUDES += ['../build']

EXTRA_COMPONENTS += [
    'FormHistoryStartup.js',
    'nsFormAutoComplete.js',
    'nsFormHistory.js',
    'nsInputListAutoComplete.js',
    'satchel.manifest',
]

EXTRA_JS_MODULES += [
    'AutoCompletePopup.jsm',
    'FormHistory.jsm',
    'nsFormAutoCompleteResult.jsm',
]

FINAL_LIBRARY = 'xul'

JAR_MANIFESTS += ['jar.mn']
